package com.fesine.learn.design.pattern.creational.abstractfactory;

/**
 * @description: 类描述
 * @author: fesine
 * @createTime:2019/2/18
 * @update:修改内容
 * @author: fesine
 * @updateTime:2019/2/18
 */
public class JavaFactory implements CourseFactory {
    @Override
    public Article getArticle() {
        return new JavaArticle();
    }

    @Override
    public Video getVideo() {
        return new JavaVideo();
    }
}
